<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            width: 100%;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #efeeee;
            user-select: none;
        }
        .container{
            width: 700px;
            height: 600px;
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            align-items: center;
        }
        .container .box{
            display: flex;
            justify-content: space-around;
            flex-direction: column;
            align-items: center;
            align-content: center;
            width: 100px;
            height: 140px;
            margin: 20px;
        }
        .container .box .img{
            width:100px;
            height: 100px;
            box-shadow: 18px 18px 30px rgba(0,0,0,0.1),
            -18px -18px 30px rgba(255,255,255,1);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #efeeee;
            transition: box-shadow 0.3s ease-out;
            position: relative;
        }
        .container .box .img .icon{
            width:70px;
            height:70px;
            border-radius: 20px;
            transition: width 0.3s ease-out;
        }
        .container .box p{
            color: slategray;
            transition: 0.3s;
        }
        .container .box .img:hover{
            box-shadow: 0 0 0 rgba(0,0,0,0.1),
            0 0 0 rgba(255,255,255,1),
            inset 18px 18px 30px rgba(0,0,0,0.1),
            inset -18px -18px 30px rgba(255,255,255,1);
            transition: box-shadow 0.3s ease-out;
            cursor: pointer;
        }
        .container .box p:hover{
            color: deepskyblue;
            font-size: 20px;
            transition: 0.3s;
            cursor: pointer;
        }
        .icon {
            width: 1em;
            height: 1em;
            vertical-align: -0.15em;
            fill: currentColor;
            overflow: hidden;
        }
    </style>
</head>
<body>
<div class = "container">
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-QQ"></use>
            </svg>
        </div>
        <p>QQ</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-weixin"></use>
            </svg>
        </div>
        <p>微信</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-taobao"></use>
            </svg>
        </div>
        <p>淘宝</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-zhifubao"></use>
            </svg>
        </div>
        <p>支付宝</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-kugou"></use>
            </svg>
        </div>
        <p>酷狗</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-bilibili"></use>
            </svg>
        </div>
        <p>哔哩哔哩</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-liulanqi"></use>
            </svg>
        </div>
        <p>Chrome</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-QQ1"></use>
            </svg>
        </div>
        <p>微博</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-baiduyun"></use>
            </svg>
        </div>
        <p>百度云</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-youxi"></use>
            </svg>
        </div>
        <p>游戏中心</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-dianhua1"></use>
            </svg>
        </div>
        <p>电话</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-ren1"></use>
            </svg>
        </div>
        <p>联系人</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-xinxiduanxinsixinduihua"></use>
            </svg>
        </div>
        <p>信息</p>
    </div>
    <div class = "box">
        <div class = "img">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-xiangji"></use>
            </svg>
        </div>
        <p>相机</p>
    </div>
</div>
<script src="./iconfont.js"></script>
</body>
</html>